import React from 'react'
import { Pagination } from 'antd';

type Props = {
    total:number
}

const ComPagination = (props: Props) => {
    return (
        <div>
            <Pagination
                total={props.total}
                showSizeChanger
                showQuickJumper
                showTotal={(total, range) => `${range[0]}-${range[1]} 共 ${total} 条数据`}
            />
        </div>
    )
}

export default ComPagination